package com.ruicar.afs.cloud.apply.pre.smallprogram.service;

import com.ruicar.afs.cloud.apply.pre.smallprogram.condition.TencentCloudNuclearBodyCondition;
import com.ruicar.afs.cloud.apply.pre.smallprogram.dto.ChangeBankInfoDTO;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import com.ruicar.afs.cloud.image.entity.ComAttachmentFile;

import java.util.List;

/**
 * @ClassName ApplySmallProgramService
 * @Description: 小程序service
 * @Author mingzhi.li
 * @Date 2020/9/24
 * @Version V1.0
 **/
public interface ApplySmallProgramService {
    /**
     * 获取贷后合同变更信息
     *
     * @param caseNo
     * @return
     */
    public ChangeBankInfoDTO getBankCardInfo(String caseNo);

    /**
     * 获取贷后合同变更信息
     *
     * @param caseNo
     * @return
     */
    /**
     * 获取签约变更银行卡签约文件
     * @param caseNo
     *
     * @return
     */
    public List<ComAttachmentFile> getFileList(String caseNo);

    /**
     * 回传签约文件信息
     *
     * @param file
     * @return
     */
    public IResponse  sendFileList(ComAttachmentFile file);
    /**
     * 小程序：预审批签约场景
     *
     * @param condition
     * @return
     */
    public IResponse  signScenePre(TencentCloudNuclearBodyCondition condition);

    /**
     * 小程序：贷后银行卡变更
     *
     * @param condition
     * @return
     */
    public IResponse  signSceneChangeBankInfo(TencentCloudNuclearBodyCondition condition);

    /**
     * 小程序：主借人、共借人、担保人场景
     *
     * @param condition
     * @return
     */
    public IResponse  signSceneRole(TencentCloudNuclearBodyCondition condition);
}
